package com.wrs.examsystem.util.wheel;

import com.wrs.examsystem.entity.Topic;

/**
 * @Author: 牛欣雨
 * @Date: 2024 / 06 / 17 / 11:16
 * @Description:
 */
public class TopicUtil {
    public static Boolean judgeTopicEmpty(Topic topic){
        if(topic.getTestId() == null){
           return true;
        }else if(topic.getTopicType() == null){
            return true;
        }else if(topic.getTopicNumber() == null){
            return true;
        }else if(topic.getTopicName() == null){
            return true;
        }else if(topic.getTopicAnswer() == null){
            return true;
        }else if(topic.getTopicOptions() == null){
            return true;
        }else if(topic.getTopicMark() == null){
            return true;
        }
            return false;
    }
}
